import 'package:flare_flutter/flare_actor.dart';
import 'package:flutter/material.dart';

class FlareTeddyWidget extends StatelessWidget {
  const FlareTeddyWidget({Key key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Container(
      height: 160,
      padding: EdgeInsets.only(left: 16.0, right: 16.0),
      child: FlareActor(
        'assets/flare/teddy.flr',
        shouldClip: false,
        alignment: Alignment.bottomCenter,
        fit: BoxFit.contain,
      ),
    );
  }
}
